<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:setBundle basename="labels"/>

<jsp:include flush="true" page="header.jsp" />
<!-- browse -->
<form action="<portlet:actionURL />">
	<input type="submit" value="<fmt:message key="label.back"/>" class="crud"/>
</form>
<table class="crud">
	<c:forEach var="field" items="${bean.fields}">
	<c:if test="${!field.def.hidden}">
	<tr>
		<td class="even" width="10%">
			<c:out value="${field.def.label}"/>
		</td>
		<td>
<c:set var="field" value="${field}" scope="request"/>		
<jsp:include flush="true" page="viewer.jsp" />
		</td>
	</tr>
	</c:if>
	</c:forEach>
</table>
